package com.kordar.rbac;

public enum ItemEnum {

    TYPE_ROLE(1, "角色"),
    TYPE_PERMISSION(2, "权限");

    private Integer code;
    private String name;

    ItemEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
